package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.app.ChargeOption;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChargeOptionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ChargeOption record);

    int insertSelective(ChargeOption record);

    ChargeOption selectByPrimaryKey(Long id);

    List<ChargeOption> getChargeList(Long communityId);

    int delByCommunityId(Long communityId);

    int insertBatch(@Param("list") List<ChargeOption> chargeOptions);

    int updateByPrimaryKeySelective(ChargeOption record);

    int updateByPrimaryKey(ChargeOption record);
}